﻿CREATE PROCEDURE [dbo].[SystemUserSecurityPolicy_Insert]

@SystemSecurityPolicyID uniqueidentifier
, @SystemUserID uniqueidentifier
, @CreatedBy uniqueidentifier
, @ModifiedBy uniqueidentifier
AS
BEGIN
SET NOCOUNT ON

DECLARE @CreatedDate datetime
DECLARE @ModifiedDate datetime
DECLARE @Deleted bit
SET @CreatedDate = GETDATE()
SET @ModifiedDate = GETDATE()
SET @Deleted = 0

INSERT INTO [dbo].[SystemUserSecurityPolicy] ([SystemSecurityPolicyID]
, [SystemUserID]
, [CreatedDate]
, [CreatedBy]
, [ModifiedDate]
, [ModifiedBy]
, [Deleted]
)
VALUES (@SystemSecurityPolicyID
, @SystemUserID
, @CreatedDate
, @CreatedBy
, @ModifiedDate
, @ModifiedBy
, @Deleted
)

END
